package com.rxyb.wechat.utils.bean;

import lombok.Data;

@Data
public class LocationResult {

    private Integer status;
    private String message;
    private Result result;

    @Data
    public class Result {
        private String title;
        private String similarity;
        private String deviation;
        private String reliability;
        private String level;
        private Location location;
        private AdInfo ad_info;
        private AddressComponents address_components;

        @Data
        public class Location {
            private String lng;
            private String lat;
        }

        @Data
        public class AdInfo {
            private String adcode;
        }

        @Data
        public class AddressComponents {
            private String province;
            private String city;
            private String district;
            private String street;
            private String street_number;
        }
    }

}
